package forms

type CreateAddressForm struct {
	Province     string `json:"province" binding:"required"`
	City         string `json:"city" binding:"required"`
	District     string `json:"district" binding:"required"`
	Address      string `json:"address" binding:"required"`
	SignerName   string `json:"signer_name" binding:"required,min=1,max=20"`
	SignerMobile string `json:"signer_mobile" binding:"required,mobile"`
}

type UpdateAddressForm struct {
	Province     string `json:"province"`
	City         string `json:"city"`
	District     string `json:"district"`
	Address      string `json:"address"`
	SignerName   string `json:"signer_name" binding:"min=1,max=20"`
	SignerMobile string `json:"signer_mobile" binding:"mobile"`
}

type CreateMessageForm struct {
	MessageType int    `json:"message_type" binding:"required,oneof=1 2 3 4 5"`
	Subject     string `json:"subject" binding:"required"`
	Message     string `json:"message" binding:"required"`
	File        string `json:"file"`
}
